$(function(){
	$('.keep').on('click',function(){
		sendForm($(this),1); 
	});
	$('.back').on('click',function(){
		window.history.back()
	});
	$('.car_number').on('click',function(){
		choosecar("{:url('car/index',['op'=>'search'])}")
	});
	console.log($('.mot_state').data('idx'))
	$('.mot_state').val($('.mot_state').data('idx'))
	
	$('.start_date').on('change',function(){
		
		var dat= datejudge($('.start_date'),$('.end_date'));
		
	})
	$('.end_date').on('change',function(){
		
		var dat= datejudge($('.start_date'),$('.end_date'));
		
	})
})